package com.example.liu_test.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.example.liu_test.pojo.Admin;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.liu_test.pojo.RespBean;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 刘旺
 * @since 2021-07-05
 */
public interface IAdminService extends IService<Admin> {
   RespBean login(String username, String password, HttpServletResponse response) throws Exception;


   RespBean logoff(HttpServletResponse response, HttpServletRequest request) throws Exception;
}
